/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dblayer;
import Modellayer.*;
import java.util.ArrayList;
/**
 *
 * @author bruhn
 */
public interface IFDBVareLinje {
    // get all Vare
    public ArrayList<VareLinje> hentVareLinje(boolean retriveAssociation);
    //get one Vare by the vareID
    public ArrayList<VareLinje> findBestillingsnr(int bestillingsNr, boolean retriveAssociation);
    //insert a new Vare
    public int opretVareLinje(VareLinje varelinje);
    //delete a Vare
    public void sletBestilling(int vareID, int bestID);

}
